
import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";




//左侧菜单数据
export const getAsideListData = (params: FormData) => {
    return http.get(PORT1 + '/sys/import-template/goods-type', params, { cancel: false, loading: false });
};

//获取导出规则数据 tags
export const getTagsListData = (params:{}) => {
    params={...params} 
    return http.get(PORT1 + '/sys/import-template/rule', params, { cancel: false, loading: false });
};


//获取导出模版
export const getTemplate = (params:{}) => {
    params={...params} 
    return http.get(PORT1 + '/sys/import-template/file', params, { cancel: false, loading: false });
};